/**
 * @公司:公约树
 * @位置:苏州
 * @Classname KeyModel
 * @Date 2022-06-03 下午 02:07
 * @Created by hanWanLu
 * @auther 中文:韩万路
 */


package com.animeJava.data;

import java.util.ArrayList;
import java.util.List;

/**
 * 计算 当前key到指定的key的百分比
 */
public class KeyData<T>  {
    private Double          key;
    private List<T> keyData;

    public KeyData() {
    }

    public KeyData(Double key, List<T> keyData) {
        this.key = key;
        this.keyData = keyData;
    }

    public Double getKey() {
        return key;
    }

    public void setKey(Double key) {
        this.key = key;
    }

    public List<T> getKeyData() {
        return keyData;
    }

    public void setKeyData(ArrayList<T> keyData) {
        this.keyData = keyData;
    }
}
